package view.character
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	public class CharacterExpBar extends Sprite
	{
		private var _ui:UIExpBar;
		
		public function CharacterExpBar()
		{
			super();
			_ui = new UIExpBar;
			addChild(_ui);
		}
		
		public function setExp(current:int, total:int):void{
			_ui.expTxt.text = current+"/"+total;
			_ui.maskmc.scaleX = current/total;
		}
	}
}